package com.wondersgroup.fjzlpt.console.service.inter.user;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.Map;

/**
 * Created by lion on 2017/5/26.
 */
public interface UserService {

    /**
     * 分页查询用户信息
     */
    JSONObject queryPage(Map<String, String> map);

    /**
     * 保存用户信息
     * @param map
     * @return
     */
    public JSONObject save(Map<String, String> map);

    /**
     * 删除用户
     */
    public JSONObject delete(Map<String, String> map);

    /**
     * 启用/禁用用户
     */
    public JSONObject updateUserState(Map<String, String> map);

    public JSONObject queryManagerInitData(String ptjgid);

    /**
     * 查询角色菜单
     * @param roleId
     * @return
     */
    public JSONArray queryRoleMenu(String roleId);
}
